package com.dsunsoft.rtu.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.validation.annotation.Validated;

/**
 * oauth2 配置
 * 
 * @author ygm
 *
 */
@Data
@Validated
@ConfigurationProperties("oauth2")
public class OAuthProperties {
	/**
	 * clientId
	 */
	private String clientId;
	/**
	 * clientSecret
	 */
	private String clientSecret;
	/**
	 * expiresIn
	 */
	private int expiresIn;
	/**
	 * jwtSigningKey
	 */
	private String jwtSigningKey;
}
